import BaseApi from "../base.api";

export class PatrolPlanApi extends BaseApi {
    protected baseUri = "/backend/workshop/watch-plans";

    queryAll() {
        return this.request.get(`${this.baseUri}/all`);
    }

    queryByType(type: string) {
        return this.request.get(`${this.baseUri}/type?type=${type}`);
    }
}
